Use a weak ref in GtkAccelLabel
authorMatthias Clasen <mclasen@redhat.com>
Wed, 24 Aug 2011 12:16:03 +0000 (08:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 24 Aug 2011 12:16:03 +0000 (08:16 -0400)
commit4a857ac023839f9b45576145aef8f05d82634587
treebc55493b047d8674e2fe0c9053d497ef3c85a4e3
parent32eb38073ea2171b9d291b0726d5bed7f0794bac
Use a weak ref in GtkAccelLabel

GtkAccelLabel was holding a strong reference on its parent,
which could, depending on the circumstances, lead to leaks.

https://bugzilla.gnome.org/show_bug.cgi?id=344858
gtk/gtkaccellabel.c